package com.lazy.book.service.system;

import com.lazy.book.pojo.system.pojo.dto.sysemail.SysEmailCreateDTO;
import com.lazy.book.pojo.system.pojo.dto.sysemail.SysEmailListDTO;
import com.lazy.book.pojo.system.pojo.dto.sysemail.SysEmailUpdateDTO;
import com.lazy.book.pojo.system.pojo.po.SysEmail;
import com.lazy.book.pojo.system.pojo.vo.SysEmailVO;
import com.mybatisflex.core.service.IService;
import com.sz.core.common.entity.ImportExcelDTO;
import com.sz.core.common.entity.PageResult;
import com.sz.core.common.entity.SelectIdsDTO;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

/**
 * @author lay
 * @since 2025-09-05
 */
public interface SysEmailService extends IService<SysEmail> {

    void create(SysEmailCreateDTO dto);

    void update(SysEmailUpdateDTO dto);

    PageResult<SysEmailVO> page(SysEmailListDTO dto);

    List<SysEmailVO> list(SysEmailListDTO dto);

    void remove(SelectIdsDTO dto);

    SysEmailVO detail(Object id);

    void importExcel(ImportExcelDTO dto);

    void exportExcel(SysEmailListDTO dto, HttpServletResponse response);
}